package com.sasis.webapp.dwr;

import com.sasis.model.FlightTransferFood;
import com.sasis.service.FlightTransferFoodManager;

public class FlightTransferFoodRemote {
	private FlightTransferFoodManager flightTransferFoodManager;

	public void setFlightTransferFoodManager(
			FlightTransferFoodManager flightTransferFoodManager) {
		this.flightTransferFoodManager = flightTransferFoodManager;
	}

	public boolean deleteTransferFood(String[] ids) {
		FlightTransferFood flightTransferFood = new FlightTransferFood();
		if (null != ids&&0!=ids.length) {
			flightTransferFood.setIds(ids);
			flightTransferFoodManager
					.removeFlightTransferFood(flightTransferFood);

		}
		return true;
	}
}
